<template>
  <router-view />
</template>

<script>
export default {
  name: "App",
  mounted() {},
};
</script>
<style lang="scss">
  html{height: 100%;}
  body{height: 100%;margin: 0;padding: 0;box-sizing: border-box;font-family: "Microsoft YaHei";background: #f4f6f9 !important;}
  #app{height: 100%;}
  *{
    margin: 0;
    padding: 0;
  }
  ul, li {list-style: none}
  .el-tabs__header{ background-color: #fff;margin: 0 0 10px;}
  .el-tabs__item{font-size: 16px;}
  .name-table{
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    // display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    // justify-content: center;
  }
  thead{
    .cell{
      color: #999;
      font-size: 12px;
    }
  }
  .el-radio__input.is-checked .el-radio__inner{ background-color: #0E932E !important;border-color: #0E932E;}
  .el-radio__inner:hover{ border-color: #0E932E;}
  .el-radio__input.is-checked+.el-radio__label{ color: #0E932E;}
  .note-editor.note-frame{width: 80%;}
  // .el-table td, .el-table th{ padding: 0;}
  .el-table td>.cell{text-align: center;padding:5px 4px !important;}
  .el-table th>.cell{text-align: center;padding:0px 4px !important;height: 40px;line-height: 40px;}
  .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner{ background-color:#0E932E; border-color:#0E932E;}
  .el-checkbox__input.is-checked+.el-checkbox__label{ color: #0E932E !important;}
  .el-pager li.active,.el-pager li:hover{color: #0E932E !important; }
  .el-tree-node__content{ height: 50px !important;}
  .is-current{color: #0E932E  !important;}
  .is-expanded.is-current{ color: #606266 !important;background-color: #fff !important;}
  .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{ background-color: #0E932E !important;color: #fff !important;}
  .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content .el-tree-node__expand-icon{ color: #fff !important;}
  // .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content .btn_list .el-button--text{ color: #fff;}
  .el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content .btn_list .el-button{ background-color: #fff !important;}
  .el-tree--highlight-current .el-tree-node .el-tree-node__content .btn_list .el-button{ background-color: #fff !important;}

  .el-tree-node__content{position: relative !important;}
  .dialog-con .picture{
    max-width: 300px;
    height: auto;
  }
  .el-table__row--striped{
    td{
      background-color: #fbfdff!important;
    }
  }
  .new{
    .table-group{
      .el-table__header{
        th{
          background-color: #ddd;
          .cell{
            color: #666!important;
            font-size: 14px;
          }

        }
      }
    }
    .el-form-item__content{
      margin-left: 60px!important;
    }
    .btns{
      margin-top: 20px;
      text-align: center;
    }
  }
  .title-desc{
    position: relative;
    height: 50px;
    line-height: 50px;
    padding-left: 15px;
    &:after{
      content: '';
      position: absolute;
      width: 5px;
      height: 20px;
      left: 0;
      top: 15px;
      background-color: #666;
    }
  }
  .group-wrap{
    display: flex;
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
    .group-item{
      flex: 1;
      border-right: 1px solid #eee;
      .group-title{
        background-color: #ddd;
        height: 40px;
        line-height: 40px;
        padding-left: 20px;
        font-size: 14px;
      }
      .group-table{
        padding-left: 20px;
        font-size: 14px;
        color: #666;
        &.one{
          .m-value{
            max-width: 1000px!important;
          }
        }
        .table-m{
          min-height: 40px;
          line-height: 30px;
          display: flex;
          &.pic{
            height: inherit;
            min-height: 40px;
            padding-bottom: 10px;
            margin-top: 10px;
          }
          .m-name{
            width: 120px;
            text-align: right;
          }
          .m-value{
            max-width: 400px;
          }
        }
      }
    }
  }
  .container-top{
    height: 60px;
    /*line-height: 39px;*/
    font-style: normal;
    background-color: #fff;
    padding-left: 10px;
    padding-right: 10px;
    border-bottom: 1px solid  rgb(210, 210, 210);
    .top-name{
      font-size: 16px;
      line-height: 60px;
      font-family: "Microsoft YaHei";
      color: #666;
      font-weight: 500;
    }
  }
  .table-content1{
    background-color: #ddd;
    .content-item{
      display: flex;
      min-height: 50px;
      align-items: center;
      padding: 10px 0;
      .table-list{
        flex: 1;
        font-size: 14px;
        color: #333;
        padding-left: 40px;
      }
    }
  }
  .btns-top{
    display: flex;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .modal-list{
    padding-left: 30px;
    display: flex;
    flex-wrap: wrap;
    &.last{
      border-bottom: 1px solid  rgb(210, 210, 210);
    }
    .el-select{
      .el-input__suffix {
        right: -4px!important;
      }
    }
    .input-item{
      // flex: 1;
      margin-bottom: 20px!important;
      margin-right: 30px!important;
      &.category{
        margin-right: 10px;
        .el-input{
          width: 140px!important;
        }
      }
      .el-select{
        width: 170px;
      }
      span.name{
        display: inline-block;
        width: 90px;
      }
    }
  }
  // 上传图片
  .avatar-uploader {
    .el-upload {
      cursor: pointer;
      position: relative;
      overflow: hidden;
      .avatar-uploader-icon {
        font-size: 28px;
        color: #8c939d;
        width: 148px;
        height: 148px;
        line-height: 146px;
        text-align: center;
        border: 1px dashed #d9d9d9 !important;
        border-radius: 6px;
      }
      .avatar {width: 178px;height: 178px;display: block;}
    }
    .el-upload:hover {
      border-color: #20a0ff;
    }
    .up-tips{ color: #fc0000;}
  }
  // .note-toolbar-wrapper.panel-default{
  //   height: 0px!important;
  // }
  // 列表
  .container {
    width: 100% !important;
    .header{padding: 12px;background-color: #fff;.el-button{padding:8px 10px; span{display: inline-block;a{display: inline-block;}}}}
    .header_top{background-color: #fff;padding:5px 12px;position: relative;
      p{font-size: 16px;margin: 0;height: 40px;line-height: 40px;}
      .el-button{position: absolute;right:20px;top:5px;padding:8px 10px !important;}
    }

    .el-tabs__header {
      padding-left: 10px;
      .el-tabs__nav-scroll {
        /*padding: 10px 0;*/
      }
    }

    .input_modal, .btns-modal{
      padding:12px 12px 7px;
      background-color: #fff;
      margin-top: 0;
      &.add{
        padding-top: 0;
      }
      .car_item{ padding-right:70px;}
      .input-item{
        display: inline-block;
        margin-right: 20px;
        margin-bottom:5px;
        clear: both;
        height: 30px;
        line-height: 30px;
        position:relative;
        .el-button{
          span{
            color: #fff;
          }
        }
        span{
          color: #666;
          font-size: 14px;

        }
        .el-input{ width: 170px;
          // padding: 3px 7px;
          // height: 25px;
          // line-height: 25px;
          // border: 1px solid #e3e9eb;
          // box-sizing: content-box;
          .el-input__inner{
            padding: 3px 7px;
            height: 25px!important;
            line-height: 25px!important;
            border: 1px solid #e3e9eb;
            box-sizing: content-box;
          }
        }
        .el-input,.el-button, .el-select{ margin-right: 10px;height: 30px !important;}
        .el-input__inner{  height: 30px !important;}
        .el-input__icon{ line-height: 30px !important;height: 30px;}
        .el-date-editor .el-range-separator{ line-height: 22px;width: 10%;}
        .el-button--medium{ padding:8px 10px !important;}
        .distpicker-address-wrapper{display:inline-block;height: 30px;position: relative;
          select{-webkit-appearance: none;background-color: #fff;border-radius: 4px;border: 1px solid #dcdfe6;box-sizing: border-box;color: #606266;display: inline-block;
            font-size: inherit;height: 30px;line-height: 1;outline: 0;padding: 0 40px 0 20px;-webkit-transition: border-color .2s cubic-bezier(.645,.045,.355,1);
            transition: border-color .2s cubic-bezier(.645,.045,.355,1);margin-right: 20px !important;}
          select:focus{ border-color: #409eff;}
          .cret1{position: absolute;left: 170px;top:15px;width: 7px;height: 7px;border-right:1px solid #c0c4cc;border-bottom:1px solid #c0c4cc;
            -webkit-transform: rotate(45deg);transform: rotate(45deg);display: block;}
          .cret2{position: absolute;right: 30px;top:15px;width: 7px;height: 7px;border-right:1px solid #c0c4cc;border-bottom:1px solid #c0c4cc;
            -webkit-transform: rotate(45deg);transform: rotate(45deg);}
        }
        .car{
          position:absolute;
          left:50px;
          top:0px;
          height:30px;
        }
      }
    }

    .btns-modal {
      border-top: 1px solid #eee;
    }

    .table_con{ background-color: #fff;padding: 10px;margin-top: 10px;
      .el-button--mini{ padding:8px !important;margin-left: 4px!important;}
      .el-button--mini:first-child{margin-left: 0px!important; }
      .avatar{
        width: 100%;
        height:40px;
        overflow: hidden;
        text-align: center;
        img{ width:40px;height:40px;display:inline-block;border-radius:50%;}
      }
      .img{
        width:50px;height:40px;display: inline-block; vertical-align:middle;
      }
      .picture{
        width: 100%;
        height:50px;
        overflow: hidden;
        text-align: center;
        img{ width:auto;height:50px;display: inline-block;}
      }
      .card{
        display: inline-block;
        height: 60px;
        img{
          height: 60px;
          width: auto;
        }
      }
      .banner{
        width: 100%;
        height:80px;
        overflow: hidden;
        text-align: center;
        img{ width:auto;height:80px;display: inline-block;}
      }
    }
    .pagination {text-align: right;margin-top: 10px;background-color: #fff;padding:8px;display: block !important;}
    // .el-button{ background-color: #0E932E !important; border:1px solid #0E932E; }
    .pic{ width:100%;height:40px;overflow: hidden; img{ width:40px;height:40px;display: inline-block;}}
  }

  //  编辑
  .container{
    // .el-button--primary{ background-color: #0E932E !important; border:1px solid #0E932E; }
    .square{
      width: 30px;
      height: 30px;
      padding: 0;
      border-radius: 50%;
      margin-left: 10px;
      background-color: #fc0000 !important;
      border:none !important;
    }
    .header{
      background-color: #fff;
      padding:5px 12px;
      height: 40px;
      line-height: 40px;
      position: relative;
      p{font-size: 16px;margin: 0;height: 40px;line-height: 40px;}
      .el-button{position: absolute;right:20px;top:5px;padding:8px 10px !important;}
    }
    .main {
      // margin-top: 10px;
      clear: both;
      background-color: #fff;
      padding: 16px;
      .el-input,.el-select {width: 250px;}
      .el-form-item{ margin-bottom:25px;}
      .modal-body{
        .note-image-input{display: block;}
      }
      .sub_title{
        height: 40px;
        line-height: 40px;
        margin-left: 50px;
        font-weight: 600;
        padding-left: 10px;
        /*border-left: 4px solid #0E932E;*/
        margin-top:20px;
        margin-bottom: 10px;
        .el-button{
          margin-left: 20px;
          height: 30px;
          line-height: 30px;
          padding: 0 10px;
        }
      }
      .table{
        margin-left: -70px;
      }
      .picture_list{
        float:left;
        position: relative;
        .tips{
          text-align: center;
        }
      }
    }
  }

  // 详情
  .container_detail{
    // .el-button--primary{ background-color: #0E932E !important; border:1px solid #0E932E; }
    .header{background-color: #fff;padding:5px 12px;position: relative;
      p{font-size: 16px;margin: 0;height: 40px;line-height: 40px;}
      .el-button{position: absolute;right:20px;top:10px;padding:8px 10px !important;}
    }
    .main {
      margin-top: 10px;
      background-color: #fff;
      padding: 16px;
      clear: both;
      .list{
        .title{padding-left: 20px;height: 40px;line-height: 40px;background-color: #f5f5f5;border: 1px solid #dedede;font-weight: 600;}
        .noborder-top{border-top:none;}
        .item{
          border: 1px solid #dedede;
          border-top:none;
          position: relative;
          padding-left: 180px;
          .item-key{
            position: absolute;
            left: 0;
            top:0;
            width: 160px;
            padding:10px;
            text-align: right;
            box-sizing: content-box;
          }
          .item-value{
            min-height:21px;
            padding: 10px;
            border-left: 1px solid #dedede;
            section{
              display: inline-block;
              height: 40px;
              img{ height: 36px;width: 36px;border-radius: 50%;}
            }
            box-sizing: content-box;
          }
        }
        .item-pic{
          .item-value{padding-left:0;height: 100px;
            section{
              width: 100px;
              padding:0 10px;
              text-align: center;
              float: left;
              height: 100px;
              overflow: hidden;
              text-align: center;
              img{
                min-height: 100px;
                min-width: 100px;
                display: inline-block;
                border-radius: 0;
              }
            }
          }
          .item_col_3{
            display: inline-block;
            width: 33.3%;
          }

        }
      }
    }
  }

  .flex-cont {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .flex-box-justify {
    display: flex;
    justify-content: center;
  }

  .flex-box-align{
    display: flex;
    align-items: center;
  }

  .flex-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .flex-box-container {
    display: flex;
    flex-wrap: wrap;
  }

  .flex-box-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .flex {
    flex:1;
  }


  .dialog_table {
    .el-table-column--selection.is-leaf {
      &:first-child {
        .cell {
          display: none;
        }
      }
    }
  }
  .reword-list-ul {
    li {
      display: flex;
      border-bottom: 1px solid #eee;
      &:first-child {
        background-color: #eee;
        border-bottom: none;
      }
    }
  }

  .normal-uploader .el-upload {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .normal-uploader .el-upload:hover {
    border-color: #409EFF;
  }
  .avatar-uploader-icon {
    font-size: 28px;
    color: #8c939d;
    width: 178px;
    height: 178px;
    line-height: 178px;
    text-align: center;
  }
  .avatar {
    width: 178px;
    height: 178px;
    display: block;
  }

  .order-table{
    .table-top{
      display: flex;
      border-bottom: 1px solid #eee;
      margin-bottom: 20px;
      height: 60px;
      line-height: 60px;
      .top-list{
        font-size: 14px;
        &:first-child{
          width: 30%;
          flex: initial;
        }
        flex: 1;
        justify-content: center;
        align-items: center;
        display: flex;

      }
    }
    .order-table-wrap{
      .order-table-item{
        background-color: rgb(251, 249, 249);
        margin-top: 20px;

        .item-top{
          position: relative;
          height: 50px;
          line-height: 50px;
          font-size: 14px;
          span{
            margin-left: 20px;
          }
          .el-button{
            position: absolute;
            right: 30px;
            top: 15px;
            span{
              margin-left: 0;
            }
          }
        }
        .good-item{
          display: flex;
          font-size: 14px;
          .good-list{
            padding: 15px 0;
            border-bottom: 1px solid #eee;
            &:first-child{
              width: 30%;
              flex: initial;
              .name{
                margin-left: 10px;
              }
            }
            flex: 1;
            justify-content: center;
            align-items: center;
            display: flex;
          }

        }
      }
    }

  }
</style>
